import React from 'react';
import SearchBox from './searchBox';
import SearchMain from './searchMain';
import SearchList from './searchList';
import {connect} from 'react-redux';
import actions from '../../store/actions/action'

import '../../assets/reset.min.css';
import './index.less';




class Search extends React.Component {
    render() {
        return <div className='searchBox'>
            <SearchBox></SearchBox>
            <SearchMain></SearchMain>
            <SearchList></SearchList>
        </div>
    }
}


export default connect(state=>state.search,actions.search)(Search);